<div class="sidebar">
	<div class="side_list">
		<div onmousemove="show($('.p_login'))" onmouseleave="hide($('.p_login'))" class="person_center">
			<div class="p_login">
				<div class="p_login_con">
					
					<if condition="!isset($_SESSION['uid'])">
						<img src="http://qxu1142120069.my3w.com/MoonBaSaImg/sidebar/userHead.jpg" alt="" />
						<p>请先登录哦!</p>
						<div class="con_login">
							<a class="mylogin" href="__APP__/Login/login">登录</a>
							<a class="mylogon" href="__APP__/Login/register">注册</a>
						</div>
						<else/>
						<div class="myinfo_header"><img width="60" height="60" src="http://qzapp.qlogo.cn/qzapp/100269270/01A8AFFDBFB100DA716C2247186CBDA81/100" alt="" /></div>
						<div class="myinfo_mes">
							<dl><dt>用户名:</dt><dd>{$Think.session.email}</dd></dl>
							<dl><dt>会员类型:</dt><dd class="level">普通用户</dd></dl>
						</div>
					</if>
				</div>
				<div class="p_login_foot">
					<ul>
						<li>
							<a href="">我的订单</a>
						</li>
						<li class="center"></li>
						<li class="f_last">
							<a href="">我的收藏</a>
						</li>
					</ul>
				</div>
				<div onclick="hide($('.p_login'))" class="p_login_close">x</div>
			</div>
			<div class="p_icon"></div>
		</div>
		<div onmousemove="show($('.c_case'))" onmouseleave="hide($('.c_case'))" class="shop_car">
			<div class="c_icon"></div>
			<div class="c_font">购物车</div>
			<div class="c_ring">
				<p class="num">0</p>
			</div>
		</div>
		<div class="collect">
			<div class="co_tab">
				<div class="co_tab_font">我的收藏</div>
			</div>
			<div class="co_icon"></div>
		</div>
		<div class="wechat">
			<div class="w_icon"></div>
		</div>
		<div class="service">
			<div class="s_tab">
				<div class="s_tab_font">联系客服</div>
			</div>
			<div class="s_icon"></div>
		</div>
	</div>
	<div onclick="back_top()" class="scroll_top">
		<div class="t_tab">
				<div class="t_tab_font">返回顶部</div>
		</div>
		<div class="top_icon"></div>
	</div>
	<div onmousemove="show($('.c_case'))" onmouseleave="hide($('.c_case'))" class="c_case">
		<div class="c_close">
			<div onclick="hide($('.c_case'))" class="c_close_close">x</div>
			<div class="c_title">购物车</div>
		</div>
		
		<if condition="!isset($_SESSION['uid'])">
			<!--购物车没东西-->
			<div class="cart_nothings">
				<p>您的购物车还没有商品<br />再去逛逛吧!</p>
			</div>
		
			<else/>
			<!--购物车有东西-->
			<div class="cart_hasthings">
				<ul class="order_list">
					<li class="classify">
						<div class="classify_title">
							<span>梦芭莎</span>
						</div>
						<div class="classify_con">
							<!--购物车没东西-->
			<div class="cart_nothings">
				<p>您的购物车还没有商品<br />再去逛逛吧!</p>
			</div>
							
						</div>
					</li>
				</ul>
			</div>
			<div class="accounts">
				<div class="total">
					<div class="goods-num rightsidebar-fl">共<span class="zongShu">0</span>件商品</div>
					<div class="det-cost rightsidebar-fr">
						<span>￥</span>
						<span class="zongjiaqian">0</span>
					</div>
				</div>
				<a href="__APP__/Order/index" class="clo_btn">去购物车结算</a>
			</div>
		</if>
		

		
	</div>
</div>
<script type="text/javascript">
	function show(el){
		el.addClass("block");
	}
	function hide(el){
		el.removeClass("block");
	}
	function back_top(){
		$("html,body").animate({scrollTop:0}, 100);
	}

	
</script>